package ycl.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import ycl.common.base.entity.BaseEntity;


import java.time.LocalDateTime;

/**
 * <p>
 * 公共文件管理
 * </p>
 *
 * @author ycl
 * @since 2022-06-30 18:33:18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("public_files")
@ApiModel(value = "PublicFiles对象", description = "公共文件管理")
public class PublicFiles extends BaseEntity {

	
	private static final long serialVersionUID = 1L;

	@Schema(description = "文件名")
	@TableField("name")
	private String name;

	@Schema(description = "文件后缀")
	@TableField("suffix")
	private String suffix;

	@Schema(description = "密文")
	@TableField("crypto")
	private String crypto;

	@Schema(description = "文件大小, 单位B")
	@TableField("file_size")
	private Long fileSize;

	@Schema(description = "文件路径")
	@TableField("path")
	private String path;

	@Schema(description = "创建时间")
	@TableField("create_time")
	private LocalDateTime createTime;

	@Schema(description = "别名")
	@TableField("alias")
	private String alias;

	@Schema(description = "备注")
	@TableField("remark")
	private String remark;
}
